@(day:Int, month:Int, year:Int)
<fieldset id='birthday-picker'>
  Día:
  <select id='profile-in-day'>
    <option value="00">Día</option>
 
    @for(i <- 1 to 31){
      @if(i == day){
        <option value="@i" selected="selected">@i</option>
      } else {
        <option value="@i">@i</option>
      }
    }
 
  </select>
 
  Mes:
  <select id='profile-in-month'>
  <option value="00">Mes</option>
  
  @for(i <- 1 to 12){
    @if(i == month - 1){
      <option value="@(i -1)" selected="selected">@i</option>
    } else {
      <option value="@(i -1)">@i</option>
    }
  }
  
  </select>
  
  Año:
  <select id='profile-in-year'>
    <option value="00">Año</option>
  
  @for(i <- 1950 to 2011){
    @if(i == year + 1900){
      <option value="@i" selected="selected">@i</option>
    } else {
      <option value="@i">@i</option>
    }
  }
 
 </select>
</fieldset> 
